package com.arges.service.impl;

import com.arges.baen.BatchUrlBean;
import com.arges.service.IvideoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 视频录像服务
 * </p>
 *
 * @author Arges
 * @date 2022/04/16
 */
@Service
@Transactional
public class IvideoServiceImpl implements IvideoService
{





	@Override
	public String getBatchUrl(BatchUrlBean batchUrlBean)  {
		int is_local = 1;
		if (null != batchUrlBean.getNetType())
		{
			is_local = batchUrlBean.getNetType();
		}
		int protocolType = batchUrlBean.getProtocolType();
		if (4 == protocolType)
		{
			protocolType = protocolType + 1;
		}
		// wss协议
		else if (5 == protocolType)
		{
			// 目前不支持
			protocolType = protocolType + 1;
		}
		// 私有协议
		else if (6 == protocolType)
		{
			protocolType = protocolType - 2;
		}
		return "aaa";
	}



}
